{strip}
{assign var="pageTitleTranslated" value=$siteTitle}
{include file="common/header.tpl"}
{/strip}

{if $journalDescription}
	<div>{$journalDescription}</div>
{/if}


{if $homepageImage}
<div id="homepageImage"><img src="{$publicFilesDir}/{$homepageImage.uploadName|escape:"url"}" width="{$homepageImage.width|escape}" height="{$homepageImage.height|escape}" {if $homepageImageAltText != ''}alt="{$homepageImageAltText|escape}"{else}alt="{translate key="common.journalHomepageImage.altText"}"{/if} /></div>
{/if}

{if $additionalHomeContent}
<br />
{$additionalHomeContent}
{/if}

<div id = mymain" >
<form method="post" target="_blank" id="formsubmit"  action="{$newurl}" >


{assign var=dateExpire value=$smarty.now}
{assign var=thisyear value=$smarty.now|date_format:"%Y"}
{assign var=yearOffsetFuture value= $thisyear+20}
{assign var=yearOffsetPast value= $thisyear-20}

<br>


<table class="menu" style = "width: 70%;  margin-left:15%; margin-right:15%; border-width: medium; ; border-style: outset; " >
<tr style="height: 10px;">
<th width = "15%"> </th>
<th width = "35%"> </th>
<th width = "35%"> </th>
<th width = "15%"> </th>
</tr>
<tr>
	<td colspan = "4" style = "text-align: center; valign: center; text-transform: uppercase;"><strong > {$SS_Title}</strong></td>
</tr>

<tr style="height: 10px;"> 
	<td colspan = "4" style = "text-align: center; valign: center;">
	<select name="matk" id="matk" size="1" class="selectMenu">{html_options options=$tktienas }</select>
	</td>

</tr>


<tr style="height: 20px;"> </tr>

<tr style="height: 50px;" rowspan="2">
	<td>

	</td>
	<td class = "top" colspan = "2" >
	T&#7915; ngày: 
	{html_select_date prefix="dateExpire1" all_extra="class=\"selectMenu\""  day_extra= 1 display_years = 0 start_year="-5" end_year="+5" time="$ngay1"}

	</td>
</tr>
<tr style="height: 50px;" rowspan="2">
	<td>

	</td>
	<td class = "row" colspan = "2" >
	
	&#272;&#7871;n ngày: 
	{html_select_date prefix="dateExpire2" all_extra="class=\"selectMenu\""  day_extra= 1 start_year="-5" end_year="+5" time="$ngay2"}

	</td>
</tr>




<tr style="height: 10px;"><td></td>
	<td class = "bottom" colspan = "2"  > </td>
	</tr>

	<tr style="height: 10px;">
	</tr>


	<tr height = "70px" valign = "center"><td></td>
		<td colspan="2" valign = "center" style= "text-align: center; padding: 0px 20px ">
		<input type="button" id="formsubmit"  value="Sổ cái" class="Button" onclick="socai('{$urlsocai}')"/>
		<br><br>
		<input type="button" id="formsubmit"  value="Sổ Tổng hợp CT bên Nợ " class="Button" onclick="sothctg('{$urlsothctgno}')"/>
		<input type="button" id="formsubmit"  value="Sổ Tổng hợp CT bên Có" class="Button" onclick="sothctg('{$urlsothctgco}')"/>


		</td>

		
	</tr>
	<tr style="height: 10px;">
	</tr>

</table>
</form>
</div>


{if $enableAnnouncementsHomepage}
{* Display announcements *}
<div id="announcementsHome">
	<h3>{translate key="announcement.announcementsHome"}</h3>
	{include file="announcement/list.tpl"}	
	<table class="announcementsMore">
		<tr>
			<td><a href="{url page="announcement"}">{translate key="announcement.moreAnnouncements"}</a></td>
		</tr>
	</table>
</div>
{/if}

{if $issue && $currentJournal->getSetting('publishingMode') != $smarty.const.PUBLISHING_MODE_NONE}
	{* Display the table of contents or cover page of the current issue. *}
	<br />
	<h3>{$issue->getIssueIdentification()|strip_unsafe_html|nl2br}</h3>
	{include file="issue/view.tpl"}
{/if}
{include file="common/footer.tpl"}



